import request from '@/utils/request'

// 统计每天的注册量
export const countRegister = day => {
  return request({
    url: `/statistics/daily/countRegister/${day}`,
    method: 'POST'
  })
}

// 获取echarts需要展示的数据
export const getShowData = searchObj => {
  return request({
    url: `/statistics/daily/showData/${searchObj.type}/${searchObj.begin}/${
      searchObj.end
    }`
  })
}
